<md-content layout="column" layout-fill layout-padding>
   <span class="user-position">您当前的位置：订单处理</span>
   <div ng-if="!username" layout="row" layout-align="center center" class="not-login-info">
      <img src="../../../src/images/big_order.png">
      <div layout="column">
         <span>您尚未<span class="redirect font-cursor-pointer" ng-click="login()">登录</span>，请登录后再查看吧！</span>
         <span>没有账户？立即<span class="redirect font-cursor-pointer" ng-click="register()">注册</span></span>
      </div>
   </div>
   <table ng-if="username" class="table-cart" rules="rows" frame="void" bordercolor="#CDCDC1">
      <tr>
         <th class="table-cart-th">顾客</th>
         <th class="table-cart-th">订单编号</th>
         <th class="table-cart-th">地址</th>
         <th class="table-cart-th">支付金额</th>
         <!--<th class="table-cart-th">操作</th>-->
      </tr>
      <tr ng-repeat="order in orderList" ng-click="orderInfo(order.orderId)" class="table-item font-cursor-pointer">
         <td class="table-cart-tbody">
            <div layout="column">
                    <span>
                        <b>{{order.username}}</b>
                    </span>
               <span class="time">{{order.time}}</span>
            </div>
         </td>
         <td class="table-cart-tbody font-center">{{order.orderId}}</td>
         <td class="table-cart-tbody font-center">{{order.address}}</td>
         <td class="table-cart-tbody font-center"><b>￥{{order.price}}</b></td>
      </tr>
   </table>
</md-content>

